/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ExceptionTest.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.ExceptionTest.AccountException;
import za.ac.cput.ExceptionTest.Impl.AccountExceptionImpl;

/**
 *
 * @author Leo
 */
@Configurable
public class AppConf4 {
    @Bean (name="accntEx")
    public AccountException accntEx(){
        return new AccountExceptionImpl();
    }

    
        
}
